package com.itclub.ssh.dao.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.orm.hibernate5.HibernateTemplate;
import org.springframework.stereotype.Repository;

import com.itclub.ssh.dao.IndexDao;
@Repository("indexDao")
public class IndexDaoImpl implements IndexDao {
	@Resource
	HibernateTemplate hibernateTemplate;
	@Override
	public List findAllFriendlink() {
		List list=hibernateTemplate.find("from Friendlink");
		return list;
	}

}
